package com.commpany.servie.basic.tag.business.write.productTag.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.commpany.jdq.core.orm.Pagination;
import com.commpany.servie.basic.tag.business.write.productTag.ProductTagWriteManage;
import com.commpany.servie.basic.tag.dao.write.ProductTagWriteDAO;
import com.commpany.servie.basic.tag.po.ProductTagPO;
@Service
public class ProductTagWriteManageImpl implements ProductTagWriteManage {
	Logger logger = LoggerFactory.getLogger(this.getClass());
	@Autowired
	private ProductTagWriteDAO productTagWriteDAO;
	@Override
	public int insertProductTagService( ProductTagPO po ){
	
	  return productTagWriteDAO.insert(po);
	}
	@Override
    public int updateProductTagService( ProductTagPO po ){
        return productTagWriteDAO.update(po);
    }
    
    @Override
    public int deleteProductTagService( ProductTagPO po ){
        return productTagWriteDAO.delete(po);
    }
}
	